package com.doubao.doubao_admin.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Builder
@TableName("bms_tip")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)//链式构造器
public class BmsPromotion {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 说明
     */
    private String description;

    /**
     * 广告链接
     */
    @TableField("link")

    private String link;
}
